package com.zhongkeruan.admin;

import de.codecentric.boot.admin.config.EnableAdminServer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.Configuration;

/**
 * @author yangyao
 * @Description: AdminServerApplication
 * @date 2019/1/15 14:01
 */
@Configuration
@EnableAutoConfiguration
@EnableDiscoveryClient
@EnableAdminServer
public class AdminServerApplication {
    private static Logger logger = LoggerFactory.getLogger(AdminServerApplication.class);
    public static void main(String[] args) {
        SpringApplication.run(AdminServerApplication.class, args);
        logger.info("「「「「「监控中心微服务启动完成」」」」」");
    }
}
